#########################################################################
# File Name: make3rdcompile.sh
# Author: Thinking
# mail: program_code@sohu.com 
# Created Time: Sun 07 Jan 2018 02:54:11 AM DST
#########################################################################
function getlibevent(){
	cd libevent
	cmake -DEVENT__DISABLE_TESTS=OFF -DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_REGRESS=ON -DEVENT__DISABLE_OPENSSL=ON -DCMAKE_INSTALL_PREFIX=/opt .
	make -j
	make install
}

function 3rdcompile() {
    getlibevent
}


echo "start "
3rdcompile
echo "end"


